<?php
/** @var Dingo\Api\Routing\Router $api */
$api->group([
    'version' => 'v1',
    'namespace' => 'App\Http\Controllers\Test',
    'prefix' => 'api/test'
], function ($api) {
    $api->get('test', 'TestController@test'); // 测试一下
    $api->get('test1', 'TestController@test1'); // 测试一下
});
